package com.kzd.btgame.main.home

import android.view.LayoutInflater
import com.kzd.btgame.R
import com.kzd.btgame.databinding.ActivityBargainBuyBinding
import com.kzd.btgame.jetpack.vm.HomeViewModel
import com.module.lemlin.app.OwnerStatusBar
import com.module.lemlin.owner.OwnerViewBindingActivity
import com.module.lemlin.owner.ownerViewModel

class BargainBuyActivity : OwnerViewBindingActivity<ActivityBargainBuyBinding>() {


    private val mViewModel:HomeViewModel by lazy {
        ownerViewModel(owner = this)
    }

    override val inflate: (LayoutInflater) -> ActivityBargainBuyBinding
        get() = ActivityBargainBuyBinding::inflate

    override fun initStatusBar(statusBar: OwnerStatusBar) {
        statusBar.run {
            addView = mViewBinding.tlBargainBuyBar
            barColor = R.color.white
        }
        super.initStatusBar(statusBar)
    }

}